#ifndef QGRAPHICDIALOG_H
#define QGRAPHICDIALOG_H

#include <QDialog>
#include <QColor>

namespace Ui {
class QGraphicDialog;
}

class QGraphicDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QGraphicDialog(QWidget *parent = nullptr, QColor *color = nullptr, QString text = "Some default text", QString diameter = "5");
    ~QGraphicDialog();

    void paintEvent(QPaintEvent *);

private:
    Ui::QGraphicDialog *ui;
    QColor *color;
    int diameter;
    QString text;
};

#endif // QGRAPHICDIALOG_H
